package com.hqyj.project.mapper;

import com.hqyj.project.dto.LeaveDto;
import com.hqyj.project.dto.TripDto;
import com.hqyj.project.vo.TripVo;

import java.util.List;

public interface TripMapper {

    List<TripVo> selectAllTripInfo(TripDto tripDto);

    Integer selectCount(TripDto tripDto);

    void applyToTrip(TripDto tripDto);

    void permit(String userName);

    void notPermit(String userName);

    List<TripVo> selectPersonal(String userName);

    void updateStart(String userName);
}
